<@ww.actionerror />
<@ww.form action="signup" namespace="/user" method="post" validate="true" >
<#assign username_label="${action.getText('bbs.user.name.label','用户名')}" />
<#assign username_title="${action.getText('bbs.user.name.title','请输入用户名')}" />
<@ww.textfield label="${username_label}" name="user.name" maxlength="20" required="true" title="${username_title}"/>
<#assign password_label="${action.getText('bbs.user.password.label','密码')}" />
<#assign password_title="${action.getText('bbs.user.password.title','请输入密码')}" />
<@ww.password showPassword="true" label="${password_label}" name="user.password" maxlength="20" required="true" title="${password_title}"/>
<#assign confirmPassword_label="${action.getText('bbs.user.confirmPassword.label','确认密码')}" />
<#assign confirmPassword_title="${action.getText('bbs.user.confirmPassword.title','请再次输入密码')}" />
<@ww.password showPassword="true" label="${confirmPassword_label}" name="confirmPassword" maxlength="20" required="true" title="${confirmPassword_title}"/>
<#assign email_label="${action.getText('bbs.user.email.label','email')}" />
<#assign email_title="${action.getText('bbs.user.email.title','请输入email')}" />
<@ww.textfield label="${email_label}" name="user.email" maxlength="20" required="true" title="${email_title}"/>
<#assign nickname_label="${action.getText('bbs.user.nickname.label','昵称')}" />
<#assign nickname_title="${action.getText('bbs.user.nickname.title','请输入昵称(如果没有输入,则用户名作为昵称)')}" />
<@ww.textfield label="${nickname_label}" name="user.nickname" maxlength="20" title="${nickname_title}" tooltip="${nickname_title}"/>
<@ww.submit value="%{getText('bbs.user.reg.submit','注册')}"/>
<@ww.reset value="%{getText('bbs.user.reg.reset','重填')}"/>
</@ww.form>

